$(warning $(shell httpd -version))


httpd.out: $(HOME)/www/httpd.version
	touch $@


$(HOME)/www/httpd.version: 
	yum -y install httpd httpd-devel 
	systemctl start httpd.service
	systemctl enable httpd.service
	systemctl stop httpd.service
	cp -af /var/www $(HOME)/
	mv /var/www /var/www~
	ln -s $(HOME)/www /var/www
	systemctl start httpd.service
	httpd -version > $@

